import Vue from 'vue';
// Import Framework7 Bundle
import Framework7 from 'framework7/framework7-lite.esm.bundle.js';

// Import Framework7-Vue with helper to register all components
import Framework7Vue from 'framework7-vue/framework7-vue.esm.bundle.js';
import App from './App.vue';

import Vuex from 'vuex';
import store from './store/store';
// 引入全局inco
import '@/assets/icons/index.js';
import './assets/scss/main.scss';
//bus引入
Vue.prototype.$bus = new Vue(); //浏览器打开

Vue.use(Vuex);
// Init plugin and register all components
Framework7.use(Framework7Vue);

//和webserver热更新相关的设置
if (module.hot) {
  module.hot.accept();
}

new Vue({
  el: '#app',
  render: h => h(App),
    // router,
    
    // components:{
    // },
    store
});
